|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectraar.agent.process.RAProcess
raar.agent.process.sensor.RASensor
raar.external.RAExternalSensor
public class RAExternalSensor
An external sensor bases its data on data transmitted from an external agent such as a robot class interface. It also contains a simulator sensor that can be used in the simulator.
| Field Summary |
|---|
| Fields inherited from class raar.agent.process.sensor.RASensor |
|---|
agent, output, outputName |
| Fields inherited from class raar.agent.process.RAProcess |
|---|
hasRun, inregister, outregister, register, sourceCode, statement |
| Fields inherited from interface raar.agent.process.RAAgentDependentProcess |
|---|
NO_AGENT_DEFINED |
| Constructor Summary | |
|---|---|
RAExternalSensor(RASensor childSimSensor,
java.lang.String sensor_id)
Construct the external sensor with a child sensor that can be used in the simulator environment. |
|
| Method Summary | |
|---|---|
java.lang.String |
explain()
Give a String that explains what the sensor does. |
RASensor |
getChildSimSensor()
Get child sensor usable in simulator. |
java.lang.String |
getProcessName()
Get a process name representation. |
java.lang.String |
getSensorID()
Get ID. |
void |
run()
Run method queries the agent for value. |
void |
setAgent(RAAgent a)
Set agent. |
java.lang.String |
toString()
To String. |
| Methods inherited from class raar.agent.process.sensor.RASensor |
|---|
acceptsInput, dumpRegisters, execute, get, getAgent, getColor, getDataType, getInputNames, getInputObjects, getOutputNames, getOutputObjects, getSensorValue, isSpecial, removeReferenceToAgent, set, setOutput, setReferenceToAgent, setSourceCode, suppliesOutput |
| Methods inherited from class raar.agent.process.RAProcess |
|---|
clone, getSourceCode, reset, setProcessName |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RAExternalSensor(RASensor childSimSensor,
java.lang.String sensor_id)
| Method Detail |
|---|
public RASensor getChildSimSensor()
public java.lang.String getSensorID()
public void run()
throws RAException
run in class RASensorRAExceptionpublic void setAgent(RAAgent a)
setAgent in class RASensorpublic java.lang.String toString()
toString in class RASensorpublic java.lang.String getProcessName()
getProcessName in class RAProcesspublic java.lang.String explain()
explain in class RASensor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||